package com.ruoyi.aslife.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章标签管理对象 tag
 * 
 * @author ruoyi
 * @date 2022-12-01
 */
public class Tag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long tid;

    /** 名字 */
    @Excel(name = "名字")
    private String tagname;

    /** 个数 */
    @Excel(name = "个数")
    private String num;

    public void setTid(Long tid) 
    {
        this.tid = tid;
    }

    public Long getTid() 
    {
        return tid;
    }
    public void setTagname(String tagname) 
    {
        this.tagname = tagname;
    }

    public String getTagname() 
    {
        return tagname;
    }
    public void setNum(String num) 
    {
        this.num = num;
    }

    public String getNum() 
    {
        return num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tid", getTid())
            .append("tagname", getTagname())
            .append("num", getNum())
            .toString();
    }
}
